<?php

	$DECKROOT = getcwd(); 

	//echo "Index DECKROOT:" . DECKROOT . "<br />";

	require $DECKROOT . '/config/config.php';
	require $DECKROOT . '/classes/deck.php';
	require $DECKROOT . '/keten.php';

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>

 
<LINK rel="stylesheet" type="text/css" href="css/LP_css.css">
<LINK rel="stylesheet" type="text/css" href="css/interface.css">

<!--  Bootstrap -->
	<!-- Bootstrap core CSS -->
    <link href="./boot/dist/css/bootstrap.min.css" rel="stylesheet">

    <!-- Bootstrap core JS -->
    <link href="./boot/dist/js/bootstrap.min.js" rel="stylesheet">
    

<title>Proomeetheejus Dek</title>
</head>
    <body>

    <div class="row">
    	<div class="col-sm-3 col-md-2 sidebar">sidebar</div>
    	<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
    		
    		
    		<div class="bs-example">
			    <div class="row">
			      <div class="col-sm-6 col-md-4">
			        <div class="thumbnail">
			          <img data-src="holder.js/100%x200" alt="100%x200" src="" data-holder-rendered="true" style="height: 200px; width: 100%; display: block;">
			          <div class="caption">
			            <h3>Thumbnail label</h3>
			            <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
			            <p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p>
			          </div>
			        </div>
			      </div>
			      <div class="col-sm-6 col-md-4">
			        <div class="thumbnail">
			          <img data-src="holder.js/100%x200" alt="100%x200" src="" data-holder-rendered="true" style="height: 200px; width: 100%; display: block;">
			          <div class="caption">
			            <h3>Thumbnail label</h3>
			            <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
			            <p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p>
			          </div>
			        </div>
			      </div>
			      <div class="col-sm-6 col-md-4">
			        <div class="thumbnail">
			          <img data-src="holder.js/100%x200" alt="100%x200" src="" data-holder-rendered="true" style="height: 200px; width: 100%; display: block;">
			          <div class="caption">
			            <h3>Thumbnail label</h3>
			            <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
			            <p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p>
			          </div>
			        </div>
			      </div>
			    </div>
			  </div>
    	
    	
    	</div>
    </div>
    
    
    
    
    
    

    
    	<?php
    		//$deckID=1;
    		//$stackID=1;
    		
    		//getDeckToXML($dbHost,$dbUser,$dbPass,$dbName);
    		//getDeckToScreen($dbHost,$dbUser,$dbPass,$dbName);
    		
    		//getStacksToXML($dbHost,$dbUser,$dbPass,$dbName,$deckID);
    		//getStacksToScreen($dbHost,$dbUser,$dbPass,$dbName,$deckID);
    	
	    	//getCardsToXML($dbHost,$dbUser,$dbPass,$dbName,$stackID);
	    	//getCardsToScreen($dbHost,$dbUser,$dbPass,$dbName,$stackID);
    	?>
 	
    	<!-- Piwik -->
		<script type="text/javascript">
		/*
  			var _paq = _paq || [];
  			_paq.push(["trackPageView"]);
  			_paq.push(["enableLinkTracking"]);

  			(function() {
    			var u=(("https:" == document.location.protocol) ? "https" : "http") + "://croga.com/crowik/";
    			_paq.push(["setTrackerUrl", u+"piwik.php"]);
    			_paq.push(["setSiteId", "4"]);
    			var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
    			g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s);
  			})();
  			*/
		</script>
		<!-- End Piwik Code -->
    </body>
</frameset>
</html>